# -*- coding: utf-8 -*-

from flask import Flask
from flask.ext.sqlalchemy import SQLAlchemy

app = Flask(__name__)
app.config.from_object('config')

db = SQLAlchemy(app)

from .person.views import mod as person
from .article.views import mod as article

app.register_blueprint(person)
app.register_blueprint(article)

db.create_all()
